<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>大事件_登录\注册</title>
    <!-- 导入layuicss样式表 -->
    <link rel="stylesheet" href="assets/lib/layui/css/layui.css" />
    <!-- 导入自己的css样式表 -->
    <link rel="stylesheet" href="assets/css/logoin.css" />
  </head>
  <body>
    <div class="layui-main">
      <img src="assets/images/logo.png" alt="" />
    </div>
    <!-- 登陆注册剧中页面 -->
    <div class="logoinand">
      <div class="logointitle"></div>
      <!-- 登录 -->
      <div class="logoin-box">
        <!-- 登陆表单 -->
        <form class="layui-form" action="" id="form-logoin">
          <div class="layui-form-item">
            <i class="layui-icon layui-icon-username"></i>
            <input
              type="text"
              name="username"
              required
              lay-verify="required|phone"
              placeholder="请输入账号"
              autocomplete="off"
              class="layui-input"
              id="logoin-cdd"
            />
          </div>
          <div class="layui-form-item">
            <i class="layui-icon layui-icon-password"></i>
            <input
              type="password"
              name="password"
              required
              lay-verify="required|pwd"
              placeholder="请输入密码"
              autocomplete="off"
              class="layui-input"
              id="logoin-pwd"
            />
          </div>
          <div class="layui-form-item">
            <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit>
              登录
            </button>
          </div>

          <div class="layui-form-item links">
            <a href="javascript:;" id="login-reg">去注册</a>
          </div>
        </form>
        </div>
        <!-- 注册 -->
        <div class="logoin-reg">
          <form class="layui-form" action="" id="form-reg">
            <div class="layui-form-item">
              <i class="layui-icon layui-icon-username"></i>
              <input
                type="text"
                name="username"
                required
                lay-verify="required|phone"
                placeholder="请输入账号"
                autocomplete="off"
                class="layui-input"
              />
            </div>
            <div class="layui-form-item">
              <i class="layui-icon layui-icon-password"></i>
              <input
                type="password"
                name="password"
                required
                lay-verify="required|pwd"
                placeholder="请输入密码"
                autocomplete="off"
                class="layui-input"
              />
            </div>
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input
                  type="password"
                  name="repassword"
                  required
                  lay-verify="required|pwd|repwd"
                  placeholder="请再次输入密码"
                  autocomplete="off"
                  class="layui-input"
                />
              </div>
            <div class="layui-form-item">
              <button
                class="layui-btn layui-btn-fluid layui-bg-blue"
                lay-submit
              >
                注册
              </button>
            </div>

            <div class="layui-form-item links">
              <a href="javascript:;" id="login-box">去登录</a>
            </div>
          </form>
        </div>
      </div>
    </div>
     <!-- 引入layui的js文件 -->
     <script src="assets/lib/layui/layui.all.js"></script>
    <!-- 引入jQuery插件 -->
    <script src="assets/lib/jquery.js"></script>
    <script src="assets/js/baseAPI.js"></script>
   
    <!-- 引入自己的js -->
    <script src="assets/js/logoin.js"></script>
  </body>
</html>
